package com.ruoyi.financial.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 费用支出对象 f_car_cost
 * 
 * @author xunzhe
 * @date 2024-03-13
 */
public class FCarCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long costId;

    /**  */
    @Excel(name = "")
    private Long deptId;

    /**  */
    @Excel(name = "")
    private Long carId;

    /** 费用类型 */
    @Excel(name = "费用类型")
    private String costType;

    /** 费用 */
    @Excel(name = "费用")
    private String cost;

    /** 支出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date costTime;

    /** 加油量 */
    @Excel(name = "加油量")
    private String petrol;

    /** 行驶里程 */
    @Excel(name = "行驶里程")
    private String kilometers;

    /** 强险生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "强险生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qiangInsureSatrtTime;

    /** 强险结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "强险结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qiangInsureEndTime;

    /** 保险公司名称 */
    @Excel(name = "保险公司名称")
    private String qiangInsureCompany;

    /** 保费金额 */
    @Excel(name = "保费金额")
    private String qiangCost;

    /** 商业险生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "商业险生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shangInsureSatrtTime;

    /** 商业险结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "商业险结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shangInsureEndTime;

    /** 保险公司名称 */
    @Excel(name = "保险公司名称")
    private String shangInsureCompany;

    /** 保费金额 */
    @Excel(name = "保费金额")
    private String shangCost;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date chuQiang;

    private String chuQiangCost;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date chuShang;

    private String chuShangCost;

    private String deptName;

    private String carNumber;

    public void setCostId(Long costId) 
    {
        this.costId = costId;
    }

    public Long getCostId() 
    {
        return costId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCostType(String costType) 
    {
        this.costType = costType;
    }

    public String getCostType() 
    {
        return costType;
    }
    public void setCost(String cost) 
    {
        this.cost = cost;
    }

    public String getCost() 
    {
        return cost;
    }
    public void setCostTime(Date costTime) 
    {
        this.costTime = costTime;
    }

    public Date getCostTime() 
    {
        return costTime;
    }
    public void setPetrol(String petrol) 
    {
        this.petrol = petrol;
    }

    public String getPetrol() 
    {
        return petrol;
    }
    public void setKilometers(String kilometers) 
    {
        this.kilometers = kilometers;
    }

    public String getKilometers() 
    {
        return kilometers;
    }
    public void setQiangInsureSatrtTime(Date qiangInsureSatrtTime) 
    {
        this.qiangInsureSatrtTime = qiangInsureSatrtTime;
    }

    public Date getQiangInsureSatrtTime() 
    {
        return qiangInsureSatrtTime;
    }
    public void setQiangInsureEndTime(Date qiangInsureEndTime) 
    {
        this.qiangInsureEndTime = qiangInsureEndTime;
    }

    public Date getQiangInsureEndTime() 
    {
        return qiangInsureEndTime;
    }
    public void setQiangInsureCompany(String qiangInsureCompany) 
    {
        this.qiangInsureCompany = qiangInsureCompany;
    }

    public String getQiangInsureCompany() 
    {
        return qiangInsureCompany;
    }
    public void setQiangCost(String qiangCost) 
    {
        this.qiangCost = qiangCost;
    }

    public String getQiangCost() 
    {
        return qiangCost;
    }
    public void setShangInsureSatrtTime(Date shangInsureSatrtTime) 
    {
        this.shangInsureSatrtTime = shangInsureSatrtTime;
    }

    public Date getShangInsureSatrtTime() 
    {
        return shangInsureSatrtTime;
    }
    public void setShangInsureEndTime(Date shangInsureEndTime) 
    {
        this.shangInsureEndTime = shangInsureEndTime;
    }

    public Date getShangInsureEndTime() 
    {
        return shangInsureEndTime;
    }
    public void setShangInsureCompany(String shangInsureCompany) 
    {
        this.shangInsureCompany = shangInsureCompany;
    }

    public String getShangInsureCompany() 
    {
        return shangInsureCompany;
    }
    public void setShangCost(String shangCost) 
    {
        this.shangCost = shangCost;
    }

    public String getShangCost() 
    {
        return shangCost;
    }

    public Date getChuQiang() {
        return chuQiang;
    }

    public void setChuQiang(Date chuQiang) {
        this.chuQiang = chuQiang;
    }

    public String getChuQiangCost() {
        return chuQiangCost;
    }

    public void setChuQiangCost(String chuQiangCost) {
        this.chuQiangCost = chuQiangCost;
    }

    public Date getChuShang() {
        return chuShang;
    }

    public void setChuShang(Date chuShang) {
        this.chuShang = chuShang;
    }

    public String getChuShangCost() {
        return chuShangCost;
    }

    public void setChuShangCost(String chuShangCost) {
        this.chuShangCost = chuShangCost;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("costId", getCostId())
            .append("deptId", getDeptId())
            .append("carId", getCarId())
            .append("costType", getCostType())
            .append("cost", getCost())
            .append("costTime", getCostTime())
            .append("petrol", getPetrol())
            .append("kilometers", getKilometers())
            .append("qiangInsureSatrtTime", getQiangInsureSatrtTime())
            .append("qiangInsureEndTime", getQiangInsureEndTime())
            .append("qiangInsureCompany", getQiangInsureCompany())
            .append("qiangCost", getQiangCost())
            .append("shangInsureSatrtTime", getShangInsureSatrtTime())
            .append("shangInsureEndTime", getShangInsureEndTime())
            .append("shangInsureCompany", getShangInsureCompany())
            .append("shangCost", getShangCost())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
